@extends('layout.blog')
@section('content')



    <div class="col-md-8 content-main">

        <div class="content-sec-info">
            <img src="/blog/images/c1.jpg" alt=""/>
        </div>
        @foreach($rows as $val)
            <div class="content-grid-sec">
                <div class="content-sec-info">
                    <h3><a href="/info/{{$val->id}}">{{$val->title}}</a></h3>
                    <h4>{{$val->created_at->toDateString()}} <a href="#">{{$val->user->nickname}}</a></h4>
                    <p>
                        {!!str_limit($val->content, 100, '...')!!}
                        {{--{{str_limit($val->content,200,'...')}}--}}
                    </p>
                </div>
            </div>

        @endforeach

        {{$rows->links()}}

    </div>




@endsection

